package com.sdsy.blockchaintrainingback.mapper.user;

import com.sdsy.blockchaintrainingback.mapper.BaseMapperX;
import com.sdsy.blockchaintrainingback.pojo.user.User;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Description TODO
 * @Author linzili
 * @Date 2023/9/25 23:16
 * @Version 1.0
 */
@Mapper
public interface UserMapper extends BaseMapperX<User> {


    default User selectByUsername(String username){
        return selectOne(User::getUsername,username);
    }
}
